package com.dz.dao;

import com.dz.pojo.Books;

import java.awt.*;
import java.awt.print.Book;
import java.util.List;

public interface BookMapper {
    //增加一本书
    int addBook(Books books);

    int deleteBookById(String id);

    int updataBook(Books books);

    Books queryBook(String id);

    //查询全部的书
    List<Books> queryAllBooks();
    //通过书名查询书籍
    Books queryBookByName(String BookName);

}
